package com.jvm123.blog.dao;

import com.jvm123.blog.entity.Post;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author yawn http://jvm123.com
 * 2019/11/30 15:12
 */
public interface PostPageRepo extends PagingAndSortingRepository<Post, Long> {

    Page<Post> findByIdAfter(long id, Pageable pageable);
}
